﻿namespace PLCSharp.IEC61131_3
{
    public struct UINT
    {
        private ushort value;

        public static implicit operator ushort(UINT i)
        {
            return i.value;
        }

        public static implicit operator UINT(ushort s)
        {
            UINT i = new()
            {
                value = s
            };
            return i;
        }
    }
}